package com.li.drug.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 药品出入库
 */
@Data
@TableName(value = "owinfo")
public class Owinfo implements Serializable {
    //主键
    @TableField(value = "id")
    @TableId(value = "id",type = IdType.AUTO)  //主键自增
    private Integer id;

    private String dname;
    private String type;  //出库/入库
    private Integer count;
    private String operator;
    private Date createtime;


}
